OBJ = booblefruit.o disegno.o inizializzazioni.o collisioni.o
#DEBUG_FLAGS=-D DEBUG_MODE
CXXFLAGS=$(DEBUG_FLAGS) -Wall `pkg-config --cflags --libs  allegro_dialog-5.0 allegro-5.0 allegro_font-5.0 allegro_primitives-5.0 allegro_image-5.0 allegro_audio-5.0 allegro_acodec-5.0`
LDFLAGS=-export-dynamic `pkg-config --libs  allegro-5.0 allegro_font-5.0 allegro_ttf-5.0 allegro_dialog-5.0 allegro_primitives-5.0 allegro_image-5.0 allegro_audio-5.0 allegro_acodec-5.0`


project: $(OBJ)
	g++ -o bobblefruit $(OBJ) $(LDFLAGS)

-include dependencies

.PHONY: depend clean cleanall 

depend:
	g++ -MM *.cc > dependencies 
clean:
	rm *.o
cleanall:
	rm bobblefruit *.o *~

